package com.kangfu.db.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 指定分数运动处方配置课程对象 lesson_point_prescription_item
 * 
 * @author ruoyi
 * @date 2023-01-10
 */
public class LessonPointPrescriptionItem
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Integer id;

    /** lesson_point_prescription.id */
    private Integer prescriptionId;

    private Integer checkinCount;

    /** 标题 */
    private String title;

    /** 封面 */
    private String cover;

    /** 课程时长，秒为单位 */
    private Integer itemTime;


    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setPrescriptionId(Integer prescriptionId)
    {
        this.prescriptionId = prescriptionId;
    }

    public Integer getPrescriptionId()
    {
        return prescriptionId;
    }

    public Integer getCheckinCount() {
        return checkinCount;
    }

    public void setCheckinCount(Integer checkinCount) {
        this.checkinCount = checkinCount;
    }

    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setCover(String cover) 
    {
        this.cover = cover;
    }

    public String getCover() 
    {
        return cover;
    }
    public void setItemTime(Integer itemTime) 
    {
        this.itemTime = itemTime;
    }

    public Integer getItemTime() 
    {
        return itemTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("prescriptionId", getPrescriptionId())
            .append("checkinCount", getCheckinCount())
            .append("title", getTitle())
            .append("cover", getCover())
            .append("itemTime", getItemTime())
            .toString();
    }
}
